add_executable(tcpserver tcpserver.cpp)
target_link_libraries(tcpserver ws2_32.lib)
set_target_properties(tcpserver PROPERTIES
    RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
